// 搜索接口
import request from '@/utils/request';

// 获取热门搜索 
export function getSearchHot() {
    return request({
        url: '/search/hot',
        type: 'get'
    })
}
// 搜索建议
export function getSuggest(params) {
    return request({
        url: '/search/suggest',
        type: 'get',
        params
    })
}

// 搜索建议
export function getSearch(params) {
    return request({
        url: '/search',
        type: 'get',
        params
    })
}